package com.evl.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-14
 */
@TableName("train_seat")
public class TrainSeat extends Model<TrainSeat> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Integer id;
	@TableField("vehicle_id")
	private Integer vehicleId;
	@TableField("carriage_no")
	private String carriageNo;
	@TableField("seat_no")
	private String seatNo;
	@TableField("seat_type")
	private String seatType;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(Integer vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getCarriageNo() {
		return carriageNo;
	}

	public void setCarriageNo(String carriageNo) {
		this.carriageNo = carriageNo;
	}

	public String getSeatNo() {
		return seatNo;
	}

	public void setSeatNo(String seatNo) {
		this.seatNo = seatNo;
	}

	public String getSeatType() {
		return seatType;
	}

	public void setSeatType(String seatType) {
		this.seatType = seatType;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
